package com.dg.river.netty.axle.msg2dev;

public class ResultInfo {
    private DevMsg devMsg;
    private boolean keepConnection;

    public DevMsg getDevMsg() {
        return devMsg;
    }

    public void setDevMsg(DevMsg devMsg) {
        this.devMsg = devMsg;
    }

    public boolean isKeepConnection() {
        return keepConnection;
    }

    public void setKeepConnection(boolean keepConnection) {
        this.keepConnection = keepConnection;
    }

    public ResultInfo(DevMsg devMsg) {
        this.devMsg = devMsg;
        this.keepConnection = true;
    }
}
